﻿using System;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Windows;

namespace WPFPractice.Utils
{
    public class TabTipHelper
    {
        /// <summary>
        /// 打开 TabTip 软键盘
        /// </summary>
        public static void ShowTabTipSimple()
        {
            Task.Run(() =>
            {
                try
                {
                    //Process.Start("TabTip.exe");
                    Process.Start("C:\\Program Files\\Common Files\\microsoft shared\\ink\\TabTip.exe");
                }
                catch (Exception ex)
                {
                    MessageBox.Show(ex.Message);
                }
            });
        }
    }
}